# -*- encoding:utf-8 -*-
'''
	testmovieservice.py
	======================
	@descript: 
	@copyright:chinasoft
	@author:gch
	@date: 2021-01-27 19:24
	@version:v1.0
'''
import unittest
from service.movieservice import MovieService
from moviedatas.items import MoviedatasItem

class MovieServiceTest(unittest.TestCase):
    def testMovieService(self):
        var_MovieService=MovieService()
        var_MovieItem=MoviedatasItem()
        var_MovieItem['filmname']='gch'
        var_MovieItem['var_url']='gch200'
        var_MovieItem['filmdate']='2020:10'
        var_MovieItem['major']='gch'
        var_result=var_MovieService.movieSaveToDB(var_MovieItem)
        print(var_result)
        pass
    pass
